package com.pzdHome.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pzdHome.dao.UserRechargeMapper;
import com.pzdHome.dao.model.UserRecharge;
import com.pzdHome.dao.model.UserRechargeExample;

@Service
public class UserRechargeService {
	@Autowired
	private UserRechargeMapper userRechargeMapper;

	public int countByExample(UserRechargeExample example) {
		return this.userRechargeMapper.countByExample(example);
	}

	public UserRecharge selectByPrimaryKey(Integer id) {
		return this.userRechargeMapper.selectByPrimaryKey(id);
	}

	public List<UserRecharge> selectByExample(UserRechargeExample example) {
		return this.userRechargeMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.userRechargeMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(UserRecharge record) {
		return this.userRechargeMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(UserRecharge record) {
		return this.userRechargeMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(UserRechargeExample example) {
		return this.userRechargeMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(UserRecharge record, UserRechargeExample example) {
		return this.userRechargeMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(UserRecharge record, UserRechargeExample example) {
		return this.userRechargeMapper.updateByExample(record, example);
	}

	public int insert(UserRecharge record) {
		return this.userRechargeMapper.insert(record);
	}

	public int insertSelective(UserRecharge record) {
		return this.userRechargeMapper.insertSelective(record);
	}

}
